<?php

    /**
     * Install
     *
     * @package      Core
     * @subpackage   Installer_Adapter
     *
     * @license      GNU Lesser General Public Licence see LICENCE-LGPL file or http://www.gnu.org/licenses/lgpl.html
     */
	class Core_Installer_Adapter_Fixtures implements Core_Installer_Adapter_Interface
	{

	////////////////////////////////////////////////////////////////////////////
	//                                 Methods                                //
	////////////////////////////////////////////////////////////////////////////

        /**
         * Processes
         *
         * @param       array       $data
         * @return      string
         */
        public function process(array $data)
        {
            return
'---

DbPage:
  PAGEROOT:
    status: -2
    slug: root
    children:
      HOME:
        status: 2
        slug: home
        template: "home.tpl"
        page_method: "Pages~Index:index"
        url: "/"
        name: Accueil
        content: ""

DbConfiguration:
  STAGING:
    constantKey: "STAGING"
    constantValue: "0"
    type: "number"
    status: 2
  SITE_START_YEAR:
    constantKey: "SITE_START_YEAR"
    constantValue: 2009
    type: "number"
    status: 2
  SITE_NAME:
    constantKey: "SITE_NAME"
    constantValue: "Demo"
    type: "string"
    status: 2
  MAIL_HOST:
    constantKey: "MAIL_HOST"
    constantValue: "smtp.free.fr"
    type: "string"
    status: 2
  MAIL_TYPE:
    constantKey: "MAIL_TYPE"
    constantValue: "smtp"
    type: "string"
    status: 2
  DEFAULT_EMAIL_SENDER:
    constantKey: "DEFAULT_EMAIL_SENDER"
    constantValue: "info@example.com"
    type: "string"
    status: 2
  MODE_DEBUG:
    constantKey: "MODE_DEBUG"
    constantValue: 1
    type: "boolean"
    status: 2
  MERCHANT_NAME:
    constantKey: "MERCHANT_NAME"
    constantValue: ""
    type: "string"
    status: 2
  MERCHANT_JURIDICSTATUS:
    constantKey: "MERCHANT_JURIDICSTATUS"
    constantValue: ""
    type: "string"
    status: 2
  MERCHANT_ADDRESS1:
    constantKey: "MERCHANT_ADDRESS1"
    constantValue: ""
    type: "string"
    status: 2
  MERCHANT_ADDRESS2:
    constantKey: "MERCHANT_ADDRESS2"
    constantValue: ""
    type: "string"
    status: 2
  MERCHANT_ZIPCODE:
    constantKey: "MERCHANT_ZIPCODE"
    constantValue: ""
    type: "string"
    status: 2
  MERCHANT_CITY:
    constantKey: "MERCHANT_CITY"
    constantValue: ""
    type: "string"
    status: 2
  MERCHANT_COUNTRY:
    constantKey: "MERCHANT_COUNTRY"
    constantValue: ""
    type: "string"
    status: 2
  MERCHANT_PHONE:
    constantKey: "MERCHANT_PHONE"
    constantValue: ""
    type: "string"
    status: 2
  MERCHANT_FAX:
    constantKey: "MERCHANT_FAX"
    constantValue: ""
    type: "string"
    status: 2
  MERCHANT_SIRET:
    constantKey: "MERCHANT_SIRET"
    constantValue: ""
    type: "string"
    status: 2
  GOOGLE_MAP_KEY:
    constantKey: "GOOGLE_MAP_KEY"
    constantValue: ""
    type: "string"
    status: 2';
        }
	}
